package com.fjec.market.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 018.收藏商品表
 * </p>
 *
 * @author admin
 * @since 2020-09-16
 */
@TableName("biz_favorite")
public class BizFavorite implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    @TableId("UserId")
    private Long userId;

    /**
     * 商品SkuId
     */
    @TableField("SkuId")
    private Long skuId;

    /**
     * 收藏时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 备注
     */
    @TableField("Remark")
    private String remark;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "BizFavorite{" +
            "userId=" + userId +
            ", skuId=" + skuId +
            ", createTime=" + createTime +
            ", remark=" + remark +
        "}";
    }
}
